package com.qf.service.impl;

import com.qf.dao.StudentDao;
import com.qf.pojo.Student;
import com.qf.service.StudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service("setudentService")
public class StudentServiceimpl implements StudentService {
    @Autowired(required = false)
    private StudentDao studentDao;
    @Override
    public List<Student> selectAll() {
        return studentDao.all();
    }
}
